home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / catD / intro.D1.z / intro.D1
Encoding:
Text File  |  2002-10-03  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. iiiinnnnttttrrrroooo((((DDDD1111))))                                                            iiiinnnnttttrrrroooo((((DDDD1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _iiii_nnnn_tttt_rrrr_oooo_...._DDDD_1111 - introduction to driver data
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_tttt_yyyy_pppp_eeee_ssss_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_yyyy_ssss_////_dddd_dddd_iiii_...._hhhh_>>>>
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This section describes the data definitions a developer needs to include
  17.      in a device driver.  The system finds this information in an
  18.      implementation-specific manner, usually tied to the way system
  19.      configuration is handled.
  20.  
  21. UUUUSSSSAAAAGGGGEEEE
  22.      Each driver is uniquely identified by a prefix string specified in its
  23.      configuration file.  The name of all the driver-supplied routines and
  24.      global variables should begin with this prefix.  This will reduce the
  25.      chance of a symbol collision with another driver.  Any private routines
  26.      defined by a driver that are not entry point routines should be declared
  27.      as _ssss_tttt_aaaa_tttt_iiii_cccc.  Also, any global variables that are private to the driver
  28.      should be declared as _ssss_tttt_aaaa_tttt_iiii_cccc.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.